import { AutoIncrementId, Code, PrimaryUuid, Title } from "../utils";
import { Entity } from "typeorm";

@Entity({
    name: 'fj_country'
})
export class FjCountryEntity {
    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    cid: number;

    @Title()
    country_name_cn: string;

    @Title()
    country_name: string;

    @Code({
        unique: true
    })
    iso_country_code: string;

    @Code()
    from: string;

    @Code({ nullable: true })
    nation_code: string;
}